/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package actions.login;

import actions.Action;
import models.AuthorizationWindowModel;

/**
 *
 * @author Ирина
 */
public class LoginAction implements Action{

    @Override
    public void doAction(Object obj) {
        AuthorizationWindowModel authModel = (AuthorizationWindowModel) obj;
        //запрос к серверу на наличие такого логина и пароля
        authModel.setCorrect(true); // ну или false
    }
    
}
